﻿<%@ Page Title="" Language="C#" MasterPageFile="~/common/AfterLogin.master" AutoEventWireup="true" CodeFile="appform.aspx.cs" Inherits="appform" %>

<asp:Content ID="leftMenu" ContentPlaceHolderID="leftMenu" Runat="Server">
          <li><a href="<%= Page.ResolveUrl("~/product/fixed_deposit/user/fd_statement.aspx")%>">
        E-Statement</a></li>

        <li><a href="<%= Page.ResolveUrl("~/product/fixed_deposit/user/certificate.aspx")%>">
         Deposit Certificate</a></li>

         <li><a href="<%= Page.ResolveUrl("~/product/fixed_deposit/user/appform.aspx")%>">
         Application Form</a></li>

         <li><a href="<%= Page.ResolveUrl("~/product/fixed_deposit/user/terminate.aspx")%>">
         Terminate Account</a></li>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="content" Runat="Server">
    


  

    <h1>Fixed Deposits Application Form</h1>
    <br />
    
      
       <form id="Info">

            <h5 style="font-size:1.4em;border: 1px solid orange;background-color : Orange;color: White;width: 700px;text-align: center; margin-top:-10px;margin-left:-11px;">Applicant's Particulars</h5>
            <br />
            <label for="custname">First Name :</label>
            <asp:TextBox ID="tbFirstName" runat="server" Width="175px" required= required; 
                Enabled="False" ReadOnly="True"></asp:TextBox>
        
            <label for="custname">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Last Name :</label>
            <asp:TextBox ID="tbLastName" runat="server"  Width="175px" Enabled="False" 
                ReadOnly="True"></asp:TextBox>
                <br /><br />
           <label> Gender :</label>
           <asp:RadioButton ID="rbMale" runat="server" 
                Text="Male" GroupName="gender" Enabled="False" />
            <asp:RadioButton ID="rbFemale" runat="server" Text="Female" GroupName="gender" Enabled="False" />
            &nbsp;<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Date of Birth :</label>
            <asp:TextBox ID="tbDob" runat="server" Enabled="False" ReadOnly="True"></asp:TextBox>
                      <br /><br/> 
          <label for="Nationality">Nationality :</label>
            <asp:TextBox ID="tbNationality" runat="server" Width="175px" 
                required= required; Enabled="False" ReadOnly="True" ></asp:TextBox>
&nbsp;<label for="NRIC">&nbsp;&nbsp;&nbsp; NRIC/Passport :</label>
            <asp:TextBox ID="tbNric" runat="server" Width="174px" required= required; 
                Enabled="False" ReadOnly="True" 
                ></asp:TextBox>
&nbsp;<label for="phone"><br />
            <br />
            &nbsp;Phone No :</label>
            <asp:TextBox ID="tbPhone" runat="server" required= required; Width="158px"></asp:TextBox>
&nbsp;
&nbsp;<label for="email">&nbsp; E-mail : </label>
            <asp:TextBox ID="tbEmail" runat="server" Width="235px"></asp:TextBox>
            <br /><br />
           <label for="address">Address :</label>
            <asp:TextBox ID="tbAddress" runat="server" Width="471px" required= required;></asp:TextBox>
&nbsp;<label for="zip"><br />
            <br />
            Postal code :</label>
            <asp:TextBox ID="tbPostal" runat="server" Width="133px" required= required;></asp:TextBox>
&nbsp;&nbsp;<label for="custname">&nbsp;&nbsp; Occupation : </label>
            <asp:TextBox ID="tbOccupation" 
                runat="server" required= required; Width="227px"></asp:TextBox>
            <br /><br />
                 

          <h5 style="font-size:1.4em;border: 1px solid orange;background-color : Orange;color: White;width: 700px;
                text-align: center; margin-left:-11px;">Deposit </h5>
          <br />

          <label>Account Type :</label>
            <asp:DropDownList ID="ddlType" runat="server" AutoPostBack="True" 
                Enabled="False">
                <asp:ListItem>S$ Fixed Deposit Account</asp:ListItem>
                <asp:ListItem>Fixed Monthly Deposit Account</asp:ListItem>
            </asp:DropDownList>
&nbsp;<label id="amount">&nbsp;
          Deposit Amount(S$) : </label>
            <asp:TextBox ID="tbAmount" runat="server" required= required;></asp:TextBox>
&nbsp;&nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                ControlToValidate="tbAmount" ErrorMessage="Please input only numbers" 
                ForeColor="Red" ValidationExpression="^\d+$"></asp:RegularExpressionValidator>
         
            <br /><br />

         <label>Choice of tenors : </label>&nbsp;<asp:DropDownList ID="ddlTenors" 
                runat="server">
            </asp:DropDownList>
        
         <label>&nbsp; Effective Date :</label> 
&nbsp;&nbsp;<asp:TextBox ID="tbEffDate" runat="server" Enabled="False" ReadOnly="True"></asp:TextBox>
&nbsp;<br />
            &nbsp;
                     
                         
            <br/>




         <h5 style="font-size:1.4em;border: 1px solid orange;background-color : Orange;color: White;width: 700px;
                text-align: center; margin-left:-11px;">Payment Method </h5>
            <br />
&nbsp;<label>&nbsp;Savings Account Type : </label>
            <asp:DropDownList ID="ddlSavingsAccountType" runat="server" AutoPostBack="True" 
                Enabled="False">
                <asp:ListItem Value ="KidSaver" >Kids Saver Account</asp:ListItem>
                <asp:ListItem Value ="PowerSave" >Power Save Account</asp:ListItem>
            </asp:DropDownList>
&nbsp;<label id="Label2">&nbsp;
          Account No : </label>&nbsp;<asp:TextBox ID="tbAccountNo" runat="server" required= required;></asp:TextBox>
            <br />

            <br />
           
           
         <br /><br />
          
           


           
                        <asp:CheckBox ID="cbAgreement" runat="server"            
                Text=" I have read and understand and agree the terms and conditions before this application being confirmed." 
                required= required;/>

&nbsp;<br /><br />
           <p >
               <asp:Button ID="btnApply" runat="server" Text="Apply" 
                   onclick="btnApply_Click"/>
&nbsp;<asp:Button ID="btnReset" runat="server" Text="Reset" onclick="btnReset_Click"/>
&nbsp;</p>

       
       
       </form>
       
   
       
       <%--<script type="text/javascript" language="Javascript">
           function Redirect() {
               if (confirm("You have apply sucessfully!")) //show 1st popup
               {
                   window.location.href = "certificate.aspx";
               }
           }
  </script>--%>

</asp:Content>

